package com.example.xt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.sql.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ${author}
 * @since 2022-02-27
 */
@Data
@ToString
public class Medicine implements Serializable {
  private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 名称
     */
    private String name;
    /**
     * 进货价
     */
    private Integer costprice;
    /**
     * 售价
     */
    private Integer price;
    /**
     * 数量
     */
    private Integer stock;
    /**
     * 存放区域
     */
    private String region;
  /**
   * 药品类别
   */
  private String clas;
  /**
   * 剩余保质期
   */
  private Integer exp;
  /**
   * 供应商
   */
  private String supplier;
  /**
   * 生产日期
   */
  private Date ex;
  /**
   * 入库时间
   */
  private Date medicinetime;
  /**
   * 保质期
   */
    private  Integer ep;

}
